<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<div id="users_container" style="width: 90%">
	<table id="users_table">
		<thead>
			<tr>
				<th>Usuario</th>
				<th>Password</th>
				<th>Activado</th>
			</tr>
		</thead>
		<tbody>
		</tbody>
		<tfoot>
			<tr>
				<th>Usuario</th>
				<th>Password</th>
				<th>Activado</th>
			</tr>
		</tfoot>
	</table>
</div>
<script type="text/javascript">
<!--
	require([ 'jquery', 'views/users/list'], function($, UserList) {
		var usersListUrl = '<c:url value="/usuarios?type=json&paginated=true"/>';
		$(function() {
			var userList = new UserList({
				el : "#users_table",
				url : usersListUrl
			});
			userList.render();
		});
	});
//-->
</script>
